Pixeldev\SquareWooSync\Square\SquareInventory A

Total Complexity 62
Dependencies 1
Dependents 1
Total lines 391
Lines of code 259
Logical lines of code 151
Comment lines 77
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
retrieve_inventory()
A
45 11 40
fetch_inventory_counts()
A
50 9 27
get_all_square_categories()
S
51 7 26
enhance_product()
S
50 6 27
fetch_square_image_urls()
S
54 6 19
fetch_square_item_option_values()
S
55 4 19
fetch_square_items()
S
57 4 16
fetch_square_item_options()
S
57 4 16
fetch_image_url()
S
60 4 13
fetch_square_items_batch()
S
57 3 17
filter_item_data()
S
52 2 27
__construct()
S
80 1 3
batch_retrieve()
S
65 1 9